package com.educate.studentmanagementsystem.mapper;

import com.educate.studentmanagementsystem.pojo.entity.Student;
import com.educate.studentmanagementsystem.pojo.vo.StudentVO1;
import com.educate.studentmanagementsystem.pojo.vo.StudentVO2;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {

    List<Student> selectStudentAll();

    int insertStudent(Student student);

    int updateStudentById(Student student);

    int deleteStudentByIds(Integer[] ids);

    List<StudentVO1> selectStudentVO1WithClassVO2AndTeacherVO2ByStudentNameLike(String nameLike);

    List<StudentVO2> selectStudentVO2WithClassVO3AndCourseVO2All();
}
